using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using RoboTrocity;

namespace RoboTrocity {
    class Terrain : GameObject {

        public Terrain() {

        }

    	public Terrain(Point _position) : this(_position, "brick") {}

    	public Terrain(Point _position, String imgLoc):base(_position, imgLoc){
        	Height = 50;
        	Width = 50;
        }

        public override void Update(float timeElapsed) { }

        public override float ObjectDepth {
			get { return 0.1f; }
		}

		public override void collideWith(GameObject gameObject) {
			
		}

		public override string MapXMLData {
			get {
				String data = "";
				data += "<Terrain>\n<Position locX=\"" + Position.X + "\" locY=\"" + Position.Y + "\" />";
				data += "\n<Texture name=\"" + DispSprite.ImgLoc + "\" />\n</Terrain>\n";
				return data;
			}
		}
    }
}
